package com.ziyun.pop.common.e.mercharReport;

import com.ziyun.pop.common.e.BaseEnum;

/**
 * @author jiangli
 * @date 2018-10-16 17:03
 * 门店订单状态
 */
public enum ReportProductionStatusEnum implements BaseEnum {
    REPORT_PRODUCTION_STATUS_1(1, "待审核"),
    REPORT_PRODUCTION_STATUS_2(2, "待分配"),
    REPORT_PRODUCTION_STATUS_3(3, "生产中"),
    REPORT_PRODUCTION_STATUS_4(4, "生产完成"),
    REPORT_PRODUCTION_STATUS_5(5, "已发货"),
    REPORT_PRODUCTION_STATUS_6(6, "已完成"),
    REPORT_PRODUCTION_STATUS_7(7, "新开单(门店)"),
//    REPORT_PRODUCTION_STATUS_8(11, "已作废"),
    ;

    private int id;
    private String describe;

    ReportProductionStatusEnum(int id, String describe) {
        this.id = id;
        this.describe = describe;
    }

    @Override
    public int toInt() {
        return id;
    }

    @Override
    public String toCode() {
        return null;
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}
